@import '~ant-design-vue/es/style/themes/default.less';
html,
body,
#app, #root {
  height: 100%;
}
@font-face{
  font-family: Quicksand400;
  src:url('./assets/Quicksand_Font_Family/Quicksand Regular 400.ttf');
}
@font-face{
  font-family: Quicksand300;
  src:url('./assets/Quicksand_Font_Family/Quicksand Light 300.ttf');
}

@font-face{
  font-family: Quicksand500;
  src:url('./assets/Quicksand_Font_Family/Quicksand Medium 500.ttf');
}
@font-face{
  font-family: Quicksand700;
  src:url('./assets/Quicksand_Font_Family/Quicksand Bold 700.ttf');
}

@font-face{
  font-family: Poppins;
  src:url('./assets/Quicksand_Font_Family/Poppins-ExtraBold.ttf');
}
@font-face{
  font-family: Roboto-Regular;
  src:url('./assets/roboto/Roboto-Regular.ttf');
}
@font-face{
  font-family: Roboto-Bold;
  src:url('./assets/roboto/Roboto-Bold.ttf');
}
@font-face{
  font-family: Roboto-Medium;
  src:url('./assets/roboto/Roboto-Medium.ttf');
}
.font-roboto-regular {
  font-family: Roboto-Regular;
}
* {
  font-family: Quicksand500, serif;
}
.ant-btn.ant-btn-lg {
  width: 120px;
}
.ant-pro-sider-menu-logo h1 {
  font-family: Poppins;
}
.colorWeak {
  filter: invert(80%);
}

.ant-layout.layout-basic {
  height: 100vh;
  min-height: 100vh;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}
// 数据列表 样式
.table-alert {
  margin-bottom: 16px;
}
// 数据列表 操作
.table-operator {
  margin-bottom: 18px;

  button {
    margin-right: 8px;
  }
}
// 数据列表 搜索条件
.table-page-search-wrapper {

  .ant-form-inline {
    .ant-form-item {
      display: flex;
      margin-bottom: 24px;
      margin-right: 0;

      .ant-form-item-control-wrapper {
        flex: 1 1;
        display: inline-block;
        vertical-align: middle;
      }

      > .ant-form-item-label {
        line-height: 32px;
        padding-right: 8px;
        width: auto;
      }
      .ant-form-item-control {
        height: 32px;
        line-height: 32px;
      }
    }
  }

  .table-page-search-submitButtons {
    display: block;
    margin-bottom: 24px;
    white-space: nowrap;
  }
}

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}
.ant-pro-sider-menu-sider.fix-sider-bar .ant-menu-inline .ant-menu-item {
  line-height: 56px;
  height: 56px;
  font-size: 20px;
  font-family: Quicksand400, serif;
  font-weight: 500;
}
.ant-pro-sider-menu-sider.fix-sider-bar {
  flex: 0 0 280px !important;
  max-width: 280px !important;
  min-width: 280px !important;
  width: 280px !important;
}
.ant-layout.sidemenu  {
  padding-left: 280px !important;
}
.ant-layout-header.ant-pro-fixed-header {
  width: calc(100% - 280px) !important;
}
.ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected, .ant-menu.ant-menu-dark .ant-menu-item-selected {
  background-color: #DCF7E3 !important;
}
.ant-menu-dark .ant-menu-item, .ant-menu-dark .ant-menu-item-group-title, .ant-menu-dark .ant-menu-item > a {
  color: #FFFFFF !important;
}
.ant-menu-dark .ant-menu-item-selected .anticon{
  color: #78909C !important
}
.ant-menu-item .anticon {
  font-size: 18px;
}

.ant-menu-dark .ant-menu-item-selected,
.ant-menu-dark .ant-menu-item-selected .anticon + span,
.ant-menu-dark .ant-menu-item-selected > a, .ant-menu-dark .ant-menu-item-selected > a:hover {
  color: rgba(0, 0, 0, 0.87) !important;
}
.ant-menu-item.ant-menu-item-selected {
  position: relative;
  &::before {
    display: inline-block;
    content: ' ';
    position: absolute;
    width: 4px;
    height: 100%;
    background-color: #069697;
    left: 0;
    top: 0;
  }
}
 .ant-pro-sider-menu-logo h1{
  font-size: 38px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 14px;
 }
 .ant-btn.ant-btn-primary {
   text-shadow: none;
   box-shadow: none;
   font-family: Quicksand500, serif !important;
 }
 .ant-pro-global-header-trigger {
   opacity: 0;
   padding: 0
 }
 .ant-layout-footer {
   padding: 0;
   height: 0;
 }
 .ant-pro-basicLayout-children-content-wrap,
 .ant-pro-grid-content {
   height: 100%;
 }

 .ant-pro-sider-menu-logo {
   margin-bottom: 95px;
 }
  .dashboard_create_button{
    font-family: Quicksand400, serif;
    position: fixed;
    top: 92px;
    left: 8px;
    width: 237px;
    height: 50px;
    line-height: 50px;
    background: #FFFFFF;
    border-radius: 10px;
    text-align: left;
    z-index: 999;
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 500;
    .anticon {
      color: #069697;
      font-weight: bold;
      font-size: 20px;
    }
    &:hover,
    &:focus {
      color: rgba(0, 0, 0, 0.65);
    }
  }
  .ant-pro-global-header {
    box-shadow: 0px 1px 2px 1px rgba(8, 35, 48, 0.24), 0px 2px 6px 1px rgba(8, 35, 48, 0.16);
  }
.ant-layout-content {
  //background: #FFFFFF;
  margin: 0;
  padding: 24px;
  z-index: 0;
}

/**
  表单
 */
.ant-form-item-label{
  font-size: 20px;
  font-family: Quicksand400, serif;
  font-weight: bold;
  color: #000000;
  line-height: 48px;
}
.ant-form label {
  font-size: 20px;
}
/**
 输入框
 */
.ant-input-lg {
  height: 48px;
}
/**
 通用标题
 */
.common-title {
  font-size: 20px;
  font-family: Quicksand500;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.87);
  line-height: 28px;
  position: relative;
}

.ant-select {
  color: #3E4345;
  font-weight: 400;
}
.ant-form-item-label > label::after {
  content: '';
}
